<?php

namespace Drupal\ssystore\ViewsController\handler\field;

use Drupal\ssystore\ViewsController\Traits\SsystoreChannertypeTrait;

class SsystoreChannertypeViewsField extends \views_handler_field {

  use SsystoreChannertypeTrait;

  public function render($values) {
    $value = $this->get_value($values);
    $options = $this->getChannertypeOptions();
    return isset($options[$value]) ? $options[$value] : '';
  }

}
